<%@ page import="org.test.PriceAssessment" %>



<div class="fieldcontain ${hasErrors(bean: priceAssessmentInstance, field: 'price', 'error')} required">
	<label for="price">
		<g:message code="priceAssessment.price.label" default="Price" />
		<span class="required-indicator">*</span>
	</label>
	<g:field type="number" name="price" step="0.01" required="" value="${fieldValue(bean: priceAssessmentInstance, field: 'price')}"/>
</div>

<div class="fieldcontain ${hasErrors(bean: priceAssessmentInstance, field: 'notes', 'error')} ">
	<label for="notes">
		<g:message code="priceAssessment.notes.label" default="Notes" />
		
	</label>
	<g:textField name="notes" value="${priceAssessmentInstance?.notes}"/>
</div>

<div class="fieldcontain ${hasErrors(bean: priceAssessmentInstance, field: 'product', 'error')} required">
	<label for="product">
		<g:message code="priceAssessment.product.label" default="Product" />
		<span class="required-indicator">*</span>
	</label>
	<g:select id="product" name="product.id" from="${org.test.Product.list()}" optionKey="id" required="" value="${priceAssessmentInstance?.product?.id}" class="many-to-one"/>
</div>

<div class="fieldcontain ${hasErrors(bean: priceAssessmentInstance, field: 'store', 'error')} ">
	<label for="store">
		<g:message code="priceAssessment.store.label" default="Store" />
		
	</label>
	<g:textField name="store" value="${priceAssessmentInstance?.store}"/>
</div>

